package com.feichuang.chineseWoodCarving.model;

/**
 * . DataModel<T> model层.
 * 
 * @author yanshu
 *
 * @param <T>
 */
public class DataModel<T> {

    /**
     * . 表名
     */
    public String tableName;

    /**
     * . 内容
     */
    public T content;

    /**
     * .
     * 
     * @param tableName
     *            表名
     * @param content
     *            内容
     */
    public DataModel(String tableName, T content) {
        this.tableName = tableName;
        this.content = content;
    }

    /**
     * 设置content.
     * 
     * @return 返回content
     */
    public T getContent() {
        return content;
    }

    /**
     * 获取content.
     * 
     * @param content
     *            要设置的content
     */
    public void setContent(T content) {
        this.content = content;
    }

    /**
     * ' 设置tableName.
     * 
     * @return 返回tableName
     */
    public String getTableName() {
        return tableName;
    }

    /**
     * 获取tableName.
     * 
     * @param tableName
     *            要设置的tableName
     */
    public void setTableName(String tableName) {
        this.tableName = tableName;
    }
}
